package com.demoReflect;
public class Student {
    private Integer id;
    private String name;
    private String genter;

    public Student(Integer id, String name, String genter) {
        this.id = id;
        this.name = name;
        this.genter = genter;
    }
    public Student(){
        this.id=null;
        this.name=null;
        this.genter=null;
    }

    public String getGenter() {
        return genter;
    }
    public Integer getId() {
        return id;
    }
    public String getName() {
        return name;
    }
    public void setGenter(String genter) {
        this.genter = genter;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public void setName(String name) {
        this.name = name;
    }
    public void run(){
        System.out.println("running!!");
    }
    public String eat(String name){
        return "eating" + name;
    }
}
